package com.zhengxyou.kotlindemo.basicSyntax

class CustomerCon constructor(name: String) {
    val firstPropertry = "First  property: $name".also(::println)

    init {
        println("First initializer block that prints ${name}")
    }

    val secondProperty = "Second property: ${name.length}".also(::println)

    init {
        println("Second initializer block that prints ${name.length}")
    }
}